package com.bjx.system.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @desc: 字典数据实体
 * @author: liushuai
 * @date: 2022/8/16 11:31
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_dict_data")
@Schema(title = "DictDataEntity",description = "字典数据实体")
public class DictDataEntity {
    /**
    * 字典数据Id
    */
    @TableId(type = IdType.AUTO)
    @Schema(title = "dictDataId",description = "字典数据ID")
    private Long dictDataId;

    /**
    * 字典值
    */
    @Schema(title = "value",description = "字典值")
    private String value;

    /**
    * 字典名称
    */
    @Schema(title = "label",description = "字典名称")
    private String label;

    /**
    * 字典样式
    */
    @Schema(title = "classList",description = "字典样式")
    private String classList;

    /**
    * 字典类型编号
    */
    @Schema(title = "dictTypeCode",description = "字典类型编号")
    private String dictTypeCode;

    /**
    * 字典标签
    */
    @Schema(title = "tag",description = "字典编号")
    private String tag;

    /**
    * 是否启用(1:是/2:否)
    */
    @Schema(title = "enabled",description = "是否启用")
    private Short enabled;

    @Schema(title = "序号",description = "序号")
    private Integer orderNum;
}